package com.dzh.mapper;

import com.dzh.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface CommentMapper {
    Integer addComment(Comment comment);
    List<Comment>  queryAllComment(String tourid);
    Integer deleteComment(String username,String ctime);
}
